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

Updating the docs to Svelte 5 #2038

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

malinowskip
Copy link
Contributor

I managed to make the docs compile in Svelte 5 and I’m including the changes for reference here.

Non-obvious changes that made it work:

  • After upgrading Prettier to v3, the format function expects a plugins array where prettier-plugin-svelte must be provided. Otherwise, it fails to resolve the parser and throws an error.
  • For some reason, the docs only compile if the synchronous version of Prettier’s format is used.

Related: #1877 (comment)

@malinowskip malinowskip marked this pull request as ready for review November 12, 2024 17:06
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