File tree 3 files changed +13
-5
lines changed
3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 9.4.4
4
+ * [ Bug fix: let users override skipLibCheck] ( https://github.com/TypeStrong/ts-loader/pull/1617 ) - thanks @haakonflatval-cognite
5
+
3
6
## 9.4.3
4
7
* [ Bug fix: add config file as build dependency] ( https://github.com/TypeStrong/ts-loader/pull/1611 ) - thanks @alexander-akait
5
8
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ts-loader" ,
3
- "version" : " 9.4.3 " ,
3
+ "version" : " 9.4.4 " ,
4
4
"description" : " TypeScript loader for webpack" ,
5
5
"main" : " index.js" ,
6
6
"types" : " dist" ,
Original file line number Diff line number Diff line change @@ -55,10 +55,15 @@ export function getCompilerOptions(
55
55
configParseResult : typescript . ParsedCommandLine ,
56
56
compiler : typeof typescript
57
57
) {
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
+ ) ;
62
67
63
68
// if `module` is not specified and not using ES6+ target, default to CJS module output
64
69
if (
You can’t perform that action at this time.
0 commit comments