Skip to content

The only tool you need to know what is happening and how to fix it.

188 B
Raw Blame
//go:build localdist

package static

import (
	"embed"
	"io/fs"
)

//go:embed all:dist
var staticFiles embed.FS

func GetStaticFS() (fs.FS, error) {
	return fs.Sub(staticFiles, "dist")
}