News for hackers. Stuff that matters.
Re:Thoughts on Svelte by ttfkam on Tuesday March 28, 2023 @03:20PM (#35346408)
Depends on whether or not the following is set:

    export const prerender = true;
If it is, it IS in fact compiled to HTML. :-) https://kit.svelte.dev/docs/page-options#prerender

Compilers are awesome.

Re:Thoughts on Svelte by can_center_divs on Wednesday March 29, 2023 @01:29AM (#35353023)
This assumes you are using SvelteKit, not vanilla Svelte
Re:Thoughts on Svelte by ttfkam on Wednesday March 29, 2023 @10:28AM (#35357791)

    npm create svelte my-app
Creates a SvelteKit app now, not plain Svelte. That said, you can easily disable the server-side portion.

    export const ssr = false;