Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CompilerOptions.skipLibCheck in tsconfig.json doesn't work in ts-loader #1247

Closed
hiyuki opened this issue Feb 3, 2021 · 2 comments
Closed
Labels

Comments

@hiyuki
Copy link

hiyuki commented Feb 3, 2021

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);

Steps to Reproduce the Problem

Location of a Minimal Repository that Demonstrates the Issue.

@hiyuki hiyuki changed the title CompilerOptions.skipLibCheck in tsconfig.json does't work in ts-loader CompilerOptions.skipLibCheck in tsconfig.json doesn't work in ts-loader Feb 3, 2021
@stale
Copy link

stale bot commented Apr 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 17, 2022
@stale
Copy link

stale bot commented Apr 28, 2022

Closing as stale. Please reopen if you'd like to work on this further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant