-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
[WIP] TypeScript final touches #5514
Conversation
@Timer we went through the same issues on #5509 in create-react-app-typescript. The fix implemented in 7231285 works great when developing in the source files, however it means when working within the test files, they no longer are using the configuration within I initially was thinking that we could potentially exclude those files via config merging when configuring It may be worth a little more thinking here? |
For now, I'm OK with excluding test files. I wish it was more like |
I totally agree. I know from personal experience in create-react-app-typescript that it is super annoying to have changes to the source code start yelling at you about errors in your unit tests when running I tend to agree with @frankwallis's comment over at #4837 (comment). I wonder if allowing configuration overrides when configuring the plugin would solve the issue of ignoring test build errors (configure an /cc @johnnyreilly |
@ianschmitz - fork-ts-checker-webpack-plugin awaits your pull request 😄 Quite seriously; we're completely open to making changes that will improve the developer experience. Feel free to experiment and share. |
@Timer what are your thoughts? I don't mind implementing something over at fork-ts-checker if that would help. I originally thought of the idea after having used We have used that option internally on projects, where we wanted to change the target from |
Adding a |
👍 I'll get on that tonight! |
Argh I totally had a brain fart. I forgot that That being said i've added the feature to fork-ts-checker over at TypeStrong/fork-ts-checker-webpack-plugin#173. May be useful to us in other ways! 😃 |
I'll push my attempts here. Help needed. cc @Timer
fork-ts-checker-webpack-plugin
#5510 Don't make users installfork-ts-checker-webpack-plugin
tsconfig.json
#5508 Automatically generate and validatetsconfig.json