Documentation
¶
Overview ¶
Package shellassets carries the built dashboard shell.
The directory below is a PLACEHOLDER. The real artifact is a tarball published by github.com/xraph/forge-dashboard on release, which this repo's release CI downloads and unpacks over the top before the release build. Nothing built is ever committed here: an earlier design committed an 11MB dist and embedded it with all:dist, pulling every byte into every binary that imported the dashboard extension, 6MB of which was sourcemaps.
The placeholder exists because //go:embed needs the files present at build time. Without it a plain `go build` fails, which would make the repo unbuildable offline and in every consumer's CI. It is a few KB.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPlaceholder ¶
func IsPlaceholder() bool
IsPlaceholder reports whether the embedded content is the committed placeholder rather than a real build. Callers use it to log a warning at startup instead of serving a page that looks broken for no visible reason.
Types ¶
This section is empty.