-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
fix: tsconfig includes being a level higher than they should be #8880
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense! I adjusted the v2 comment because frankly I don't think we can remove that logic for v2, and deduplicated paths some more
For me it seems like there are multiple extra levels, not just one. Is this also solved with this pull request? |
Yep, see second bullet from the PR description. |
It is not solved yet on master branch. Do you want to see a reproduction? |
always returns src even though it doesn't exist. Is this intended? |
generates
|
After going through your code it seems like the problem is not in the code adding the includes but in the parsing of the config. A reproduction is in https://github.com/wvhulle/sveltekit-bug-write-tsconfig.json |
Sorry, I didn't properly update to the latest commit. I now see it works. Reverting to version 1.5.0 brings back the problem. My only remark is that the src is included even though. How do I make sure the kit version i reference is the one from github? I used |
closes #8872
closes #8898
/**/*.js
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm test
and lint the project withpnpm lint
andpnpm check
Changesets
pnpm changeset
and following the prompts. Changesets that add features should beminor
and those that fix bugs should bepatch
. Please prefix changeset messages withfeat:
,fix:
, orchore:
.