Proof of concept
SSR (server-side rendering) of Svelte on GraalVM/JDK/Java, with Svelte code calling Scala case classes directly using TypeScript definitions.
No wiring is done for serving HTTP - the proof is in the pudding of JsRunnerSpec which is has a unit test to validate the behavior.
# first terminal: this will compile the Svelte code
$ cd frontend
$ npm install
$ npm run dev
# second terminal: this will run the unit test
$ sbt testQuick
Frontend code uses parts of the MDN Svelte tutorial.