shellassets

package
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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 FS

func FS() (fs.FS, error)

FS returns the shell's files rooted at dist/.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL