···3737deno task start
3838```
39394040-`start` serves the app from `_fresh/server.js` (created by `build`).
4040+`build` runs `deno install` then `vite build` so a clean clone (and Deno Deploy)
4141+gets `node_modules` before Vite runs. `start` serves from `_fresh/server.js`.
41424243## Deploy (Deno Deploy)
434444451. Push this repository to GitHub (or GitLab).
45462. In [Deno Deploy](https://dash.deno.com/), create a project from the repo.
46473. Set **Root directory** to the repository root (this folder).
4747-4. **Build step:** `deno task build`
4848+4. **Build step:** `deno task build` (installs npm deps, then runs Vite —
4949+ required on Deploy)
48505. **Run command:** `deno task start` (or `deno serve -A _fresh/server.js` per
4951 `deno.json`).
5052
+1-1
deno.json
···44 "tasks": {
55 "check": "deno fmt --check . && deno lint . && deno check",
66 "dev": "vite",
77- "build": "vite build",
77+ "build": "deno install && vite build",
88 "gen:images": "deno run -A --node-modules-dir=auto scripts/generate-static-images.ts",
99 "gen:oauth-key": "deno run scripts/generate-oauth-key.ts",
1010 "extract:lottie-assets": "deno run -A scripts/extract-lottie-assets.ts",