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

docs: add sveltekit update and alt config #1162

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MentalGear
Copy link

I struggled setting this up with sveltekit, and was only able to get it working with the added mergeConfig

I struggled setting this up with sveltekit, and was only able to get it working with the added `mergeConfig`
@netlify
Copy link

netlify bot commented Oct 19, 2022

Deploy Preview for testing-library ready!

Name Link
🔨 Latest commit 1785eb9
🔍 Latest deploy log https://app.netlify.com/sites/testing-library/deploys/634fc59d153e86000948a32b
😎 Deploy Preview https://deploy-preview-1162--testing-library.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Comment on lines +78 to +80
Previously `vitest-svelte-kit` could be used, but it is not necessary anymore and depreceated since `svelte-kit` is now a vite plugin.

If you struggle getting this working with the above vitest configuration, use the `mergeConfig` instead in `vitest.config.ts`:
Copy link
Member

Choose a reason for hiding this comment

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

Could we reword this in a sentence that explains how to use mergeConfig?
Imho, mentioning vitest-svelte-kit is not important because it's deprecated, and it isn't needed.

Thoughts?

Copy link
Member

Choose a reason for hiding this comment

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

Hey @MentalGear what do you think of this suggestion?

Copy link
Author

Choose a reason for hiding this comment

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

LGTM !

Copy link
Member

Choose a reason for hiding this comment

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

Would you then like to update this PR with the proposed changes? 🙂

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