Closed
Description
Expected Behaviour
CompilerOptions.skipLibCheck
works normally as tsc
does when it has been setted.
Actual Behaviour
CompilerOptions.skipLibCheck
will be merged by true
in ts-loader dist/compilerSetup.js(47:0)
and no way to change this behavior, which is different from tsc's default behavior.
I think CompilerOptions.skipLibCheck:true
could be a default behavior but not a forceful behavior, like this:
// from
const compilerOptions = Object.assign({}, configParseResult.options, {
skipLibCheck: true,
suppressOutputPathCheck: true,
});
// to
const compilerOptions = Object.assign({
skipLibCheck: true,
suppressOutputPathCheck: true,
}, configParseResult.options);