rollup

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

README

go-http/v3/rollup

Go middleware package for "rolling up" (bundling and minifying) JavaScript and CSS assets.

See also

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RollupCSSHandler

func RollupCSSHandler(opts *RollupCSSHandlerOptions) (http.Handler, error)

func RollupJSHandler

func RollupJSHandler(opts *RollupJSHandlerOptions) (http.Handler, error)

Types

type RollupCSSHandlerOptions

type RollupCSSHandlerOptions struct {
	FS    fs.FS
	Paths map[string][]string
}

type RollupJSHandlerOptions

type RollupJSHandlerOptions struct {
	FS    fs.FS
	Paths map[string][]string
}

Jump to

Keyboard shortcuts

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