/src- Contains all the webpage files/static- Contains all the static files for the site./out- The output directory
This project uses SvelteKit and Bun. Cloudflare Pages is used for hosting.
- Use
bun run --bun devto start the dev server onhttp://localhost:5173. - You can build the site with
bun run build.bun run previewwill then preview the output.bun run deploywill deploy it to Cloudflare Pages.
- Switch to Bun
- Better output from
render.ts - Extract actual template rendering logic from
render.tsinto it's own file so it can be shared by the dev server. - Replace current
koadev server with one that uses same render logic asrender.ts - Minify all static files during build
- Protobuf diffing