minify

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx *core.Context) (hook.Hook, error)

Types

type MinifyHook

type MinifyHook struct {
	hook.HookImpl
	// contains filtered or unexported fields
}

func (*MinifyHook) HandleWriter

func (h *MinifyHook) HandleWriter(w core.Writer) (core.Writer, error)

type MinifyWriter

type MinifyWriter struct {
	core.Writer
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(ctx *core.Context, w core.Writer) *MinifyWriter

func (*MinifyWriter) Write

func (w *MinifyWriter) Write(ctx context.Context, file string, r io.Reader) error

Jump to

Keyboard shortcuts

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