File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 9.4.4
4+ * [ Bug fix: let users override skipLibCheck] ( https://github.com/TypeStrong/ts-loader/pull/1617 ) - thanks @haakonflatval-cognite
5+
36## 9.4.3
47* [ Bug fix: add config file as build dependency] ( https://github.com/TypeStrong/ts-loader/pull/1611 ) - thanks @alexander-akait
58
Original file line number Diff line number Diff line change 11{
22 "name" : " ts-loader" ,
3- "version" : " 9.4.3 " ,
3+ "version" : " 9.4.4 " ,
44 "description" : " TypeScript loader for webpack" ,
55 "main" : " index.js" ,
66 "types" : " dist" ,
Original file line number Diff line number Diff line change @@ -55,10 +55,15 @@ export function getCompilerOptions(
5555 configParseResult : typescript . ParsedCommandLine ,
5656 compiler : typeof typescript
5757) {
58- const compilerOptions = Object . assign ( { } , configParseResult . options , {
59- skipLibCheck : true ,
60- suppressOutputPathCheck : true , // This is why: https://github.com/Microsoft/TypeScript/issues/7363
61- } as typescript . CompilerOptions ) ;
58+ const defaultOptions = { skipLibCheck : true } ;
59+
60+ const compilerOptions = Object . assign (
61+ defaultOptions ,
62+ configParseResult . options ,
63+ {
64+ suppressOutputPathCheck : true , // This is why: https://github.com/Microsoft/TypeScript/issues/7363
65+ } as typescript . CompilerOptions
66+ ) ;
6267
6368 // if `module` is not specified and not using ES6+ target, default to CJS module output
6469 if (
You can’t perform that action at this time.
0 commit comments