Files
solopm-server/web/embed.go
T
2026-08-14 11:29:11 -06:00

11 lines
357 B
Go

// Package web embeds the built Vue SPA (web/dist) so the Go binary can serve
// it directly. This embed fails to compile if dist is missing or empty,
// which is what forces the frontend to be built before the backend
// (see Makefile: `make build` runs `pnpm build` before `go build`).
package web
import "embed"
//go:embed all:dist
var DistFS embed.FS