frontendBuild

package
v0.0.0-...-1d800d4 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PreCompressNone = PreCompress(iota)
	PreCompressSource
	PreCompressSourcePlusMap
)

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	http.Handler
	Build(concurrency int, watch bool) error
	Bundle(w io.Writer) error
	AddListener(c chan BuildNotification) func()
	Get(p string) ([]byte, bool)
}

func NewOutputCollector

func NewOutputCollector(root string, preCompress PreCompress) API

type BuildNotification

type BuildNotification struct {
	Manifest json.RawMessage  `json:"manifest"`
	Errors   []minimalMessage `json:"errors"`
	Warnings []minimalMessage `json:"warnings"`
	Name     string           `json:"name"`
}

type PreCompress

type PreCompress int

Directories

Path Synopsis
pkg
vlq

Jump to

Keyboard shortcuts

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