aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/mbf/internal/pkgserver/ui/ui_full.go
blob: 564787dc7ddbf7aa9a97fd71aa1852c6c9ac8a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//go:build frontend

package ui

import (
	"embed"
	"io/fs"
)

//go:generate tsc
//go:generate cp index.html style.css static
//go:embed static
var _static embed.FS

var static = func() fs.FS {
	if f, err := fs.Sub(_static, "static"); err != nil {
		panic(err)
	} else {
		return f
	}
}()