build

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublicDir    = "public"
	BifrostDir   = ".bifrost"
	ManifestFile = "manifest.json"
	DistDir      = "dist"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func NewEngine

func NewEngine() (*Engine, error)

func (*Engine) BuildProject

func (e *Engine) BuildProject(mainFile string, originalCwd string) error

func (*Engine) Close

func (e *Engine) Close() error

type PageInfo

type PageInfo struct {
	Path                string
	Mode                types.PageMode
	HasStaticDataLoader bool
}

type StaticBuildExport

type StaticBuildExport struct {
	Version int                `json:"version"`
	Pages   []StaticPageExport `json:"pages"`
}

StaticBuildExport represents the export format

type StaticPageExport

type StaticPageExport struct {
	ComponentPath string             `json:"componentPath"`
	Entries       []StaticPathExport `json:"entries"`
}

StaticPageExport represents a single page's static paths from export

type StaticPathExport

type StaticPathExport struct {
	Path  string         `json:"path"`
	Props map[string]any `json:"props"`
}

StaticPathExport represents a single path entry from export

Jump to

Keyboard shortcuts

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