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

[2.x] Change TypeScript module resolution in the Svelte adapter #2035

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

pedroborges
Copy link
Collaborator

This PR fixes TypeScript module resolution issues within our monorepo setup that were preventing the detection of type errors during the launch of v1.3.0-beta.1. This happened because the packages/svelte/test-app and Svelte playgrounds projects weren't detecting type definitions from the Svelte adapter. The existing module resolution settings, copied from a fresh SvelteKit installation, were incompatible with our NPM workspace structure.

Changing the TypeScript module resolution to the same values as the other adapters fixes this issue in the Svelte adapter.

@joetannenbaum joetannenbaum merged commit e09b8f1 into master Oct 16, 2024
8 checks passed
@joetannenbaum joetannenbaum deleted the svelte-fix-ts branch October 16, 2024 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants