mix

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrManifestNotExist error.
	ErrManifestNotExist = errors.New("mix: the mix manifest does not exist")
)

Functions

This section is empty.

Types

type Mix

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

Mix type.

func New

func New(url, publicPath, hotProxyURL string) *Mix

New function.

func (*Mix) Hash

func (m *Mix) Hash(manifestDirectory string) (string, error)

Hash function.

func (*Mix) HashFromFS added in v1.4.0

func (m *Mix) HashFromFS(manifestDirectory string, staticFS fs.FS) (string, error)

HashFromFS function.

func (*Mix) Mix

func (m *Mix) Mix(path, manifestDirectory string) (string, error)

Mix function.

Jump to

Keyboard shortcuts

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