rollup

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: BSD-3-Clause Imports: 10 Imported by: 9

README

go-http-rollup

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

Documentation

Documentation is incomplete at this time.

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
	Logger *log.Logger
}

type RollupJSHandlerOptions

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

Jump to

Keyboard shortcuts

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