diff --git a/package.json b/package.json index f410f5e9f..02fb45a6c 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "mocha": "^3.1.0", "phantomjs-prebuilt": "^2.1.2", "rimraf": "^2.4.2", - "typescript": "^2.1.4", + "typescript": "^2.1.5", "typings": "^2.0.0", "webpack": "^2.2.0" } diff --git a/test/comparison-tests/errors/expectedOutput-2.1/bundle.js b/test/comparison-tests/errors/expectedOutput-2.1/bundle.js index 0375ad5b0..ce2df497b 100644 --- a/test/comparison-tests/errors/expectedOutput-2.1/bundle.js +++ b/test/comparison-tests/errors/expectedOutput-2.1/bundle.js @@ -70,7 +70,7 @@ /* 0 */ /***/ (function(module, exports) { -throw new Error("Module parse failed: C:/source/ts-loader/index.js?{\"silent\":true,\"compilerOptions\":{\"newLine\":\"LF\"}}!/errors/app.ts Unexpected token (1:9)\nYou may need an appropriate loader to handle this file type.\n| var a = == 0;\n| "); +throw new Error("Module parse failed: C:/source/ts-loader/index.js??ref--0!/errors/app.ts Unexpected token (1:9)\nYou may need an appropriate loader to handle this file type.\n| var a = == 0;\n| "); /***/ }) /******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.1/bundle.transpiled.js b/test/comparison-tests/errors/expectedOutput-2.1/bundle.transpiled.js index 2b5182ea0..77953dc15 100644 --- a/test/comparison-tests/errors/expectedOutput-2.1/bundle.transpiled.js +++ b/test/comparison-tests/errors/expectedOutput-2.1/bundle.transpiled.js @@ -70,7 +70,7 @@ /* 0 */ /***/ (function(module, exports) { -throw new Error("Module parse failed: C:/source/ts-loader/index.js?{\"silent\":true,\"compilerOptions\":{\"newLine\":\"LF\"},\"transpileOnly\":true}!/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| "); +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 index dcd464587..7e308bef9 100644 --- a/test/comparison-tests/errors/expectedOutput-2.1/output.transpiled.txt +++ b/test/comparison-tests/errors/expectedOutput-2.1/output.transpiled.txt @@ -1,13 +1,13 @@ Asset Size Chunks Chunk Names -bundle.js 2.84 kB 0 [emitted] main -chunk {0} bundle.js (main) 335 bytes [entry] [rendered] - [0] ./.test/errors/app.ts 335 bytes {0} [built] [failed] [2 errors] +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?{"silent":true,"compilerOptions":{"newLine":"LF"},"transpileOnly":true}!app.ts Unexpected token (2:9) +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; diff --git a/test/comparison-tests/errors/expectedOutput-2.1/output.txt b/test/comparison-tests/errors/expectedOutput-2.1/output.txt index 0ca23983c..f01b5ccab 100644 --- a/test/comparison-tests/errors/expectedOutput-2.1/output.txt +++ b/test/comparison-tests/errors/expectedOutput-2.1/output.txt @@ -1,13 +1,13 @@ Asset Size Chunks Chunk Names -bundle.js 2.79 kB 0 [emitted] main -chunk {0} bundle.js (main) 283 bytes [entry] [rendered] - [0] ./.test/errors/app.ts 283 bytes {0} [built] [failed] [2 errors] +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?{"silent":true,"compilerOptions":{"newLine":"LF"}}!app.ts Unexpected token (1:9) +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