package minifier
import "github.com/gohugoio/hugo/resources/resource_transformers/minifier"
Index ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for minification of Resource objects. Supported minifiers are: css, html, js, json, svg and xml.
func New ¶
New creates a new Client given a specification. Note that it is the media types configured for the site that is used to match files to the correct minifier.
func (*Client) Minify ¶
Source Files ¶
- Version
- v0.144.2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 13 hours ago –
Tools for package owners.