/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 dev
to start the dev server onhttp://localhost:5173
. - You can build the site with
bun run build
.bun run preview
will then preview the output.bun run deploy
will deploy it to Cloudflare Pages.
- Switch to Bun
- Better output from
render.ts
- Extract actual template rendering logic from
render.ts
into it's own file so it can be shared by the dev server. - Replace current
koa
dev server with one that uses same render logic asrender.ts
- Minify all static files during build
- Protobuf diffing