Files
synapbus/internal/web/embed.go
T
Algis DumbrisandClaude Opus 4.6 f585ff17e5 fix: use all:dist embed pattern to include _app directory
Go's embed excludes files/directories starting with '_' by default.
SvelteKit outputs JS bundles under _app/, which would be silently
excluded by the dist/* pattern. Use all:dist to ensure all SPA assets
are embedded in the binary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 12:55:16 +02:00

8 lines
144 B
Go

// Package web embeds the built Svelte SPA for serving from the Go binary.
package web
import "embed"
//go:embed all:dist
var DistFS embed.FS