-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Generate a more minimal tsconfig paths output for default scenario #61
Comments
This has been reported multiple times but its not part of the library scope. Also, please do not post non-related Issues to this Git repository, this is neither helpful nor it is a Bugreport. |
My suggestion was to reduce the amount of code output to tsconfig.json to a version that is more terse, to improve developer experience. I don't see how that suggestion runs counter to your stated goal. As an aside, it is common to post enhancement or feature requests to repos. If you don't want that kind of feedback, it might be worth posting something in your readme. Cheers |
Ah okay, sorry, must've misunderstood your issue then! Thought you were pointing out that using one alias is enough, which works for some projects and has been suggested a lot, but like i said isnt the scope of this library. So are you suggesting if the user sets the option |
Correct, that is my suggestion exactly. It's not a big deal, functionally they are equivalent but I think using this provides a slightly better developer experience because the tsconfig only needs to be updated once whereas with the current implementation adding or removing folders will change the file and require updates to be checked in. If you think this is a good enhancement I'd be happy to make a pull request. If not, no worries, appreciate your consideration either way. |
Hm, i think it might fit well into the current Changes that i am working on! |
Will be included in the next upcoming |
For each folder tsconfig.json is updated with a new paths entry. This can get a bit noisy to check in anytime a new folder is created. For the default config which is one level deep the following configuration can be used:
That single configuration can handle any number of folders one level deep
The text was updated successfully, but these errors were encountered: