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

fix: import vitePreprocess from vite-plugin-svelte in sveltekit #326

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

BlankParticle
Copy link
Contributor

As of sveltekit v2 vitePreprocess is no longer exported from @sveltejs/kit/vite, So vitePreprocess always is imported from @sveltejs/vite-plugin-svelte.

This fixes the bug where vitePreprocess is imported 2 times

As of sveltekit v2 `vitePreprocess` is no longer exported from `@sveltejs/kit/vite`, So `vitePreprocess` always is imported from `@sveltejs/vite-plugin-svelte`.
Copy link
Member

@manuel3108 manuel3108 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@manuel3108 manuel3108 merged commit bc96fa1 into svelte-add:main Dec 16, 2023
3 checks passed
@manuel3108
Copy link
Member

@BlankParticle Thanks for your help. This has just been published!

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.

None yet

2 participants