mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-25 09:09:35 +01:00
5976de8f82
* Localize the examples dependents * Localize FAQ * Try to fix examples API * Remove examples api * Prerender, use vercel adapter, disable PUT action for now * Don't call get_examples_data on top * Move repl PUT to its own routew * Don't prerender REPL page * Change console warn * Prerender tutorial the smart way * Use getContext in root * work around some weird content encoding glitch * Try the pre-generate route * Apply the suggestions * Fix embed examples * Remove comment * remove commented-out code * Update sites/svelte.dev/src/routes/_components/Demo.svelte Co-authored-by: Rich Harris <richard.a.harris@gmail.com> * remove unused code * add note to self, remove ts-ignore * move adapter-vercel to devDependencies * remove some unused deps * huh we need flexsearch after all? weird * we need sourcemap-codec as well — what the hell. are these deps missing from a dep? --------- Co-authored-by: Rich Harris <git@rich-harris.dev> Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
18 lines
482 B
Bash
18 lines
482 B
Bash
# for local development, copy this file to .env.local file and
|
|
# fill in the blanks
|
|
|
|
# server-side
|
|
GITHUB_CLIENT_ID=
|
|
GITHUB_CLIENT_SECRET=
|
|
|
|
# Path to local copy of Svelte relative from sites/svelte.dev. Used by the REPL.
|
|
# Optional. The default value assumes the svelte repo and sites repo are in the same directory.
|
|
# LOCAL_SVELTE_PATH=../../../svelte
|
|
|
|
# staging database
|
|
SUPABASE_URL=https://kpaaohfbmxvespqoqdzp.supabase.co
|
|
SUPABASE_KEY=
|
|
|
|
# client-side
|
|
VITE_MAPBOX_ACCESS_TOKEN=
|