MCPcopy
hub / github.com/tdewolff/minify / Minifier

Struct Minifier

css/css.go:62–67  ·  view source on GitHub ↗

Minifier is a CSS minifier.

Source from the content-addressed store, hash-verified

60
61// Minifier is a CSS minifier.
62type Minifier struct {
63 Precision int // number of significant digits
64 newPrecision int // precision for new numbers
65 Inline bool
66 Version int
67}
68
69// Minify minifies CSS data, it reads from r and writes to w.
70func Minify(m *minify.M, w io.Writer, r io.Reader, params map[string]string) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected