Vellum/web/dist/.gitkeep
mithral 3415102d5a Keep web/dist/.gitkeep alive across a build
The build deletes it. vite clears outDir (emptyOutDir: true), and that file is
the only reason //go:embed all:dist compiles in a fresh clone - without it a
clone that has not run a frontend build cannot run go build at all.

Found because it happened: a pnpm build during the transcode work removed the
tracked file, and it showed up as a deletion waiting to be committed. A
developer who ran a build and then staged everything would have broken every
clone silently, and the symptom would appear on someone else's machine.

The build now regenerates it, with the explanation in the file itself so the
next person to see it knows what it is for.
2026-10-12 12:12:02 -04:00

6 lines
343 B
Text

# Generated by scripts/keep-dist.mjs after every build.
#
# Keeps web/dist present so //go:embed all:dist in web/embed.go compiles
# in a fresh clone, where the frontend has not been built. Without it the
# server logs "web UI not embedded" and serves the API only, which is the
# intended behaviour for a clone that has not run `pnpm build`.