assets

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	InputDir    string
	OutputDir   string
	Minify      bool
	Fingerprint bool
}

Config configures the asset pipeline

type Pipeline

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

Pipeline handles asset processing (CSS, JS, static files)

func New

func New(config *Config) *Pipeline

New creates a new asset pipeline

func (*Pipeline) Build

func (p *Pipeline) Build(ctx context.Context) error

Build processes all assets

Jump to

Keyboard shortcuts

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