Skip to content

extending a tsconfig in .svelte-kit/tsconfig.json #6868

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

Closed
Alexandre-Fernandez opened this issue Sep 17, 2022 · 1 comment · Fixed by #8606
Closed

extending a tsconfig in .svelte-kit/tsconfig.json #6868

Alexandre-Fernandez opened this issue Sep 17, 2022 · 1 comment · Fixed by #8606
Labels
feature / enhancement New feature or request
Milestone

Comments

@Alexandre-Fernandez
Copy link

Alexandre-Fernandez commented Sep 17, 2022

Describe the bug

I have a monorepo which shares a base tsconfig and I want sveltekit to extend it.
However the root sveltekit tsconfig extends .svelte-kit/tsconfig.json and I cannot modify .svelte-kit/tsconfig.json to extend my base tsconfig because it gets overridden by the auto-generation.
So from what I understand my only choice if I want to extend my base tsconfig is to lose the autogenerated one ?

Reproduction

Create a turborepo app and create a sveltekit app inside the app folder.

Logs

No response

System Info

Linux

Severity

annoyance

Additional Information

I created this package to be able to extend multiple tsconfigs:
https://github.com/Alexandre-Fernandez/tsconfig-multiple-extends

@bluwy
Copy link
Member

bluwy commented Sep 19, 2022

Looks like there has been some work for array support for extends: microsoft/TypeScript#50403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature / enhancement New feature or request
Projects
None yet
3 participants