-
-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update deps * make comparison test pack a little more resilient * upgrade webpack version and comparison test output * tweak to test pack to cater for 'Module build failed (from ' in stats * remove start of line from regex * Move 'Module build failed' to normalize string * exclude 'Module Warning (from'
- Loading branch information
1 parent
158e331
commit c9ce397
Showing
44 changed files
with
1,093 additions
and
3,285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test/comparison-tests/codeSplitting/expectedOutput-3.0/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
test/comparison-tests/colors/expectedOutput-3.0/output.transpiled.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test/comparison-tests/es6codeSplitting/expectedOutput-3.0/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 10 additions & 8 deletions
18
test/comparison-tests/instance/expectedOutput-3.0/output.transpiled.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 3.99 KiB a [emitted] a | ||
bundle.js 4.03 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] | ||
[./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: Error: [31mA file specified in tsconfig.json could not be found: i-dont-exist[39m | ||
at Object.loader (dist\index.js:18:18) | ||
Module build failed (from /index.js): | ||
Error: [31mA file specified in tsconfig.json could not be found: i-dont-exist[39m | ||
at Object.loader (dist\index.js:19:18) | ||
|
||
ERROR in ./b.ts | ||
Module build failed: Error: [31mA file specified in tsconfig.json could not be found: i-dont-exist[39m | ||
at Object.loader (dist\index.js:18:18) | ||
Module build failed (from /index.js): | ||
Error: [31mA file specified in tsconfig.json could not be found: i-dont-exist[39m | ||
at Object.loader (dist\index.js:19:18) | ||
|
||
ERROR in chunk b [entry] | ||
bundle.js | ||
Conflict: Multiple assets emit to the same filename bundle.js | ||
Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) |
18 changes: 10 additions & 8 deletions
18
test/comparison-tests/instance/expectedOutput-3.0/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 3.98 KiB a [emitted] a | ||
bundle.js 4.02 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] | ||
[./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: Error: [31mA file specified in tsconfig.json could not be found: i-dont-exist[39m | ||
at Object.loader (dist\index.js:18:18) | ||
Module build failed (from /index.js): | ||
Error: [31mA file specified in tsconfig.json could not be found: i-dont-exist[39m | ||
at Object.loader (dist\index.js:19:18) | ||
|
||
ERROR in ./b.ts | ||
Module build failed: Error: [31mA file specified in tsconfig.json could not be found: i-dont-exist[39m | ||
at Object.loader (dist\index.js:18:18) | ||
Module build failed (from /index.js): | ||
Error: [31mA file specified in tsconfig.json could not be found: i-dont-exist[39m | ||
at Object.loader (dist\index.js:19:18) | ||
|
||
ERROR in chunk b [entry] | ||
bundle.js | ||
Conflict: Multiple assets emit to the same filename bundle.js | ||
Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
.../comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.0/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 4.83 KiB main [emitted] main | ||
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: Error: TypeScript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. | ||
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:71:15) | ||
at successLoader (dist\index.js:61:9) | ||
at Object.loader (dist\index.js:21:12) | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 8 additions & 7 deletions
15
test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/output.transpiled.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 4.64 KiB main [emitted] main | ||
bundle.js 4.68 KiB main [emitted] main | ||
Entrypoint main = bundle.js | ||
[./app.ts] 131 bytes {main} [built] [1 error] | ||
[./lib/index.ts] 490 bytes {main} [built] [failed] [1 error] | ||
[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] | ||
|
||
ERROR in tsconfig.json | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m | ||
[1m[31m TS6305: Output file 'lib/index.d.ts' has not been built from source file 'lib/index.ts'.[39m[22m | ||
[1m[31m TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'.[39m[22m | ||
|
||
ERROR in ./lib/index.ts | ||
Module build failed: 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:45:19) | ||
at Object.loader (dist/index.js:21:12) | ||
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 |
15 changes: 8 additions & 7 deletions
15
test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.0/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 4.64 KiB main [emitted] main | ||
bundle.js 4.68 KiB main [emitted] main | ||
Entrypoint main = bundle.js | ||
[./app.ts] 131 bytes {main} [built] | ||
[./lib/index.ts] 490 bytes {main} [built] [failed] [1 error] | ||
[./lib/index.ts] 510 bytes {main} [built] [failed] [1 error] | ||
|
||
ERROR in ./lib/index.ts | ||
Module build failed: 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:45:19) | ||
at Object.loader (dist/index.js:21:12) | ||
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 | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m | ||
[1m[31m TS6305: Output file 'lib/index.d.ts' has not been built from source file 'lib/index.ts'.[39m[22m | ||
[1m[31m TS6305: Output file '/.test/projectReferencesNotBuilt/lib/index.d.ts' has not been built from source file '/.test/projectReferencesNotBuilt/lib/index.ts'.[39m[22m |
5 changes: 5 additions & 0 deletions
5
test/comparison-tests/projectReferencesOutDir/expectedOutput-3.0/output.transpiled.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
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] |
Oops, something went wrong.