This demonstrates the issue https://github.com/sveltejs/svelte/issues/2394
There is a SSR build, which generates public/index.html, and a web server.
public/index.html
To run the demonstration, do the following:
npm run dev