Skip to content
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

feat(create-vite): align tsconfigs in svelte-ts template with others #18995

Merged

Conversation

sapphi-red
Copy link
Member

Description

This PR aligns tsconfigs in svelte-ts template with other templates. This was not possible because an error was shown in the tsconfig in previous versions of the Svelte VSCode extension. But since v109.4.0, solution style tsconfigs does not show an error (sveltejs/language-tools@89c001b) any more.

fixes #18139 (indirectly)

@sapphi-red sapphi-red added p2-nice-to-have Not breaking anything but nice to have (priority) feat: create-vite create-vite package labels Dec 18, 2024
@dominikg
Copy link
Contributor

this is an improvement over the current status so 👍 but the overall setup is too complex for a simple svelte+ts.

It should not require a solution setup.

@patak-dev patak-dev merged commit b48b98c into vitejs:main Dec 18, 2024
17 checks passed
@sapphi-red sapphi-red deleted the feat/create-vite-svelte-ts-tsconfig branch December 19, 2024 01:42
@brendanmatkin
Copy link

brendanmatkin commented Jan 7, 2025

@sapphi-red thanks!

edit: I manually applied these changes to an existing project, and it works well (note to others: make sure to restart your TS server or IDE if you get a "requires composite:true" warning)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: create-vite create-vite package p2-nice-to-have Not breaking anything but nice to have (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Referenced Project May Not Disable Emit
4 participants