-
Notifications
You must be signed in to change notification settings - Fork 507
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
Enable useTsconfigDeclarationDir when declarationDir #465
Comments
useTsconfigDeclarationDir
when declarationDir
is set in tsconfig
Not totally sure how this is related to #184, but in general, that solution makes sense to me as necessary to support Want to add a PR w/ test for this? |
Whoops, wrong issue number: #135 |
It just appear to me that my "Suggested Solution" is stupid because
Personally, I thing 2.a is the best options because it's non breaking and avoid unexpected behavior for people who might have a |
I'm not certain that this is true. rpts2 defaults Is there some other piece of code you were looking at that made you think that? I still think your suggested solution is correct, whereas
While thinking about breaking changes is a very good mentality to have when making changes to libraries (👍 👍 ), I don't think the accidental case is the important one. If someone has |
Closed by #468 |
Current Behavior
The
useTsconfigDeclarationDir
intypescript2
rollup plugin is set to false.Desired Behavior
When
declarationDir
is set intsconfig.json
setuseTsconfigDeclarationDir
totrue
.Suggested Solution
Who does this impact? Who is this for?
This would fix #135 and in general improve experience in Monorepos (making "Go To Definition" work).
Describe alternatives you've considered
Using
tsdx.config.js
but the config is not easy to change and it's needed in every package of the monorepo.The text was updated successfully, but these errors were encountered: