-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
--p command line option should support taking a full path or directory. #2869
Comments
|
since my request #5705 got closed I am writing here:
|
@Aleksey-Bykov can you elaborate on what is the expectation here? do you expect tsc to read the .csproj? where would the infrormation be stored? |
i am saying the developer should be free to specify any file that has a valid tsconfig JSON content even if the name itself doesn't make any sense |
i see, so why not use |
because it's already taken it would be a breaking change |
not really, we can check if it is a file path use it, if it is a directory append "tsconfig.json" before reading the file. |
true, good catch |
Thanks @saschanaz ! 🎉 |
This would allow you to specify a tsconfig.json that has a different name.
If you specify a directory, it should first try to resolve tsconfig.json. If it can't find it, it should find the first tsconfig*.json file
References: #2868 (comment)
The text was updated successfully, but these errors were encountered: