forked from sveltejs/svelte.dev
-
Notifications
You must be signed in to change notification settings - Fork 7
2024-10-24 迄の更新に追従 #2
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* hide copy button * only hide button on tutorial --------- Co-authored-by: Rich Harris <rich.harris@vercel.com>
Added $state rune
Our builds got slower because the cache hash was always different. This happened because the dependencies were calculated based on the generated code after Vite compiled it, i.e. it would check stuff in .svelte-kit/output/server/chunks/...js. This seems to have worked fine for a while, but now Vite mashes things up such that code from svelte.dev/src/lib/server/content.ts is mixed in, which has loads of Vite hashes in it, and so the file content is always different. That in turn means our hash is always different, and so the snippet cache never hits. The pragmatic solution is to hard-code the path to the original file and add a sanity check to ensure it's still accurate. related to sveltejs#307
so that people are not confused when setting up the repo
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Changed event parameter from 'e' to 'event' in onpointermove handler for improved clarity and consistency with instructions.
* fix: redirect hashes with different casing * add comment * defensive copy * simplify * Update apps/svelte.dev/src/routes/docs/[...path]/+page.svelte Co-authored-by: Rich Harris <rich.harris@vercel.com> * Update apps/svelte.dev/src/routes/docs/[...path]/+page.svelte Co-authored-by: Rich Harris <rich.harris@vercel.com> * Update apps/svelte.dev/src/routes/docs/[...path]/+page.svelte Co-authored-by: Rich Harris <rich.harris@vercel.com> * Update apps/svelte.dev/src/routes/docs/[...path]/+page.svelte Co-authored-by: Rich Harris <rich.harris@vercel.com> --------- Co-authored-by: Rich Harris <rich.harris@vercel.com>
Else browsers don't break them up when too many consecuitive `foo`/`bar`/`baz` code spans appear --------- Co-authored-by: Conduitry <git@chor.date>
* fix: colorful testimonials for hoverless devices fixes sveltejs#578 * add filter/scale when appropriate rather than removing when not --------- Co-authored-by: Rich Harris <rich.harris@vercel.com>
* fix: disable nav scroll while menu is open * format
* make text color a tiny bit lighter in dark mode I feel like this will be easier on the eyes for prolonged sessions * tiny bit darker, only for georgia --------- Co-authored-by: Rich Harris <rich.harris@vercel.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.