internal/webui/webui.go uses //go:embed all:dist, which fails to compile when the directory holds zero files. dist/ is gitignored (it is npm build output), so every fresh clone or worktree could not run go build ./... until the frontend had been built once. Track an empty internal/webui/dist/.gitkeep so the embed always has one matching file. The all: prefix is what makes a dotfile count. Real build output (index.html, assets/**) stays ignored and is never committed. The placeholder is forced into the index because .gitignore's dist/ rule excludes the parent directory with no way to re-include a child.
0 lines
0 B
Plaintext
0 lines
0 B
Plaintext
The file is empty.