0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
svelte/sites/svelte.dev/scripts
Puru Vijay 5976de8f82
feat(site-2): Fully remove api.svelte.dev (#8432)
* 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>
2023-04-02 10:35:10 -04:00
..
generate_examples.js feat(site-2): Fully remove api.svelte.dev (#8432) 2023-04-02 10:35:10 -04:00
get_contributors.js [feat]: Move svelte.dev here (#8237) 2023-02-02 15:45:09 -05:00
get_donors.js [feat]: Move svelte.dev here (#8237) 2023-02-02 15:45:09 -05:00
update_template.js [feat]: Move svelte.dev here (#8237) 2023-02-02 15:45:09 -05:00
update.js [feat]: Move svelte.dev here (#8237) 2023-02-02 15:45:09 -05:00