Skip to content

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

Closed
@Alexandre-Fernandez

Description

@Alexandre-Fernandez

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions