-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Type checking for node_modules #128
Comments
same here, got a lot of errors... THX!
|
Unfortunately, I also have the same problem. |
For me, the solution was to add |
Thanks so much for sharing that @maksimsemenov - I wonder if it would be worth making Some background; there are 2 compiler flags on by default with
If values are supplied for these properties in the For me it would make sense to apply the same defaults to
I'd be totally up for making those changes. @piotr-oles what do you think? |
Hello, please help! #reportFiles option is buggy I can't set But this is absolutelly not working for me.
I either end up with no checking, yet I know TS erros are there, (though I don't use ts-loader, I use babel-loader, but nwm) Anyone same problem? |
@michalpuskel reportFiles is just about the information that is output in the end - the files will be typechecked before anyways. If you want to exclude them from that, you'll have to use the exclude option in your tsconfig.json. Also, you might try Also, for reportFiles, we're using micromatch internally, so you can check your globs with their documentation, maybe that helps. |
@phryneas Thank you for quick response, though so far I couldn't solve it. I tried settings in tsconfig.json before aswell (variations of include and exclude or both) tsconfig.json
webpack.config.js
maybe is it problem with micromatch - I use it bad way
options above output nothing, no error in console I want this (but with no node_modules): When I will solve it, I definitely report it here, though so far no success, thanks anyway |
We are matching the relative path, so something like Something like |
SOLVED Thank you @phryneas ! so final config: tsconfig.json
webpack.config.js
And it works like charm, thanks a lot for support :) |
@maksimsemenov , @crazyx13th , @zeusLeeJh , @michalpuskel |
Still occurring for me, I got alpha version too but still complaining about a tsconfig.json:
webpack config:
Here is one of the errors I'm getting:
|
Could you create a reproduction repository? |
I'm seeing a whole bunch of errors related to
node_modules
directory, like so:My webpack config:
My
tsconfig.json
:I read through #116, but none of the recipes mentioned there worked for me.
Are there any other config options or any other details that I'm missing?
The text was updated successfully, but these errors were encountered: