Svelte Ssr Worker

screenshot of Svelte Ssr Worker
svelte

A quick demo for rendering Svelte server-side (SSR), but within a Cloudflare Worker!

Overview

The svelte-ssr-worker is a demo project that demonstrates how to render a Svelte server-side (SSR) application within a Cloudflare Worker. It is a minimal extension of the official svelte-template.

Features

  • Svelte server-side rendering within a Cloudflare Worker
  • Builds the client for production using the src/index.dom.js entry point
  • Builds the Cloudflare Worker code using the src/index.ssr.js entry point
  • Includes scripts for local development server and watching for changes
  • Easy deployment using Cloudflare's wrangler tool
svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

rollup
Rollup

RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.